package com.mybatistest.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mybatistest.entity.Result;
import com.mybatistest.entity.User;

import javax.validation.Valid;
import java.util.List;

public interface IUserService extends IService<User> {

    int insert(User user);

    boolean updateUser(@Valid User user);

    List<Result> queryByName(int age);

    Integer totalCount(String name);
}
